package com.example.demoshiro.service.impl;

import com.example.demoshiro.dao.UserInfoDao;
import com.example.demoshiro.model.UserInfo;
import com.example.demoshiro.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lzh
 * @date 2019/9/19 - 11:18
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    private UserInfoDao userInfoDao;

    @Override
    public UserInfo findByUsername(String username) {
        return userInfoDao.findByUsername(username);
    }
}
